package org.vaadinetherealintegration.client.example2;

import etrl.core.NodeCallback;
import etrl.core.TransformData;
import etrl.vecmath.Vector3f;

public class BlockCallback implements NodeCallback
{
	private TransformData _transformData;
	
	public BlockCallback(TransformData transformData)
	{
		_transformData = transformData;
	}

	public void doIt()
	{
		_transformData.applyRotation(new Vector3f(0.f, 1.f, 0.f), 2.f, true);
	}
}
